﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using YiSha.Business.OrganizationManage;
using YiSha.Business.SystemManage;
using YiSha.Entity.SystemManage;
using YiSha.Enum;
using YiSha.IdGenerator;
using YiSha.Model.Result;
using YiSha.Util.Extension;
using YiSha.Web.Code;
using YiSha.Util.Model;
using YiSha.Util;
using YiSha.Entity.OrganizationManage;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using YiSha.Model.Param.OrganizationManage;

// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860

namespace YiSha.Admin.Web.Controllers
{
  
    public class OutletsController : Controller
    {
        private MyBLL myBLL = new MyBLL();
        private MotoBLL motoBLL = new MotoBLL();
        private NewsBLL newsBLL = new NewsBLL();
        private Pagination pagination = new Pagination();
        // GET: /<controller>/
        public async Task<ActionResult> Index()
        {
            TData<MyEntity> obj = await myBLL.GetEntity(182428040796573696);
            MyEntity mylist = obj.Result;
            ViewBag.Mylist = mylist;
            return View();
        }
    }
}
